import json

from config import BASE_DIR
def readdate():
    with open(BASE_DIR + '/data/data.json',encoding='utf-8') as f:
        data = json.load(f)
        list = []
    #     取登录参数
        for i in data:
            i.pop('desc')
            list.append(tuple(i.values()))
    return list

if __name__ == '__main__':
    print(readdate())